Re: Firewalls and Postgres

Поиск
Список
Период
Сортировка
От eric soroos
Тема Re: Firewalls and Postgres
Дата
Msg-id 95598736.1168273801@[4.42.179.151]
обсуждение исходный текст
Ответ на Re: Firewalls and Postgres  (Tony Grant <tony@tgds.net>)
Список pgsql-general
> I am tunneling through two firewalls to get to the webapp. The webapp is
> on an intranet.
>
> I just wanted to be able to use the webapp by port forwarding instead of
> tunneling an X session (mozilla running locally is a bit faster than on
> the distant machine).
>
> For everything else I use ssh X (pgaccess and psql run just fine that
> way)
>

What you probably want to do is add an entry in /etc/hosts (or run your own private dns if things get complicate) that
mapsyour webapp machine name to 127.0.0.1, then ssh port forward port 80 to port 80 on that machine (by number). This
foolsyour local browser is fooled into thinking that 127.0.0.1 is the webapp server. 

eric





В списке pgsql-general по дате отправления:

Предыдущее
От: eric soroos
Дата:
Сообщение: Re: Firewalls and Postgres
Следующее
От: "Williams, Travis L, NPONS"
Дата:
Сообщение: Re: psql command line question..